package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.GreFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 明暗检表 DTO
 *
 * @author code-generate
 * @date 2022-02-21
 */
@Data
@ApiModel(value = "CheckDescDTO", description = "明暗检表 DTO")
public class CheckDescDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 标段id */
    @ApiModelProperty(value = "标段id")
    private String sectionId;

    /** 标段名称 */
    @ApiModelProperty(value = "标段名称")
    private String sectionName;

    /** 检查人员 */
    @ApiModelProperty(value = "检查人员")
    private String checkName;

    /** 检查时间 */
    @ApiModelProperty(value = "检查时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkDate;

    /** 扣分 */
    @ApiModelProperty(value = "扣分")
    private String score;

    /** 0:明检，1:暗检 */
    @ApiModelProperty(value = "0:明检，1:暗检")
    private String type;

    /** 内容 */
    @ApiModelProperty(value = "内容")
    private String desc;

    private List<GreFile> fileList;


}
